package key.w8.boot.config;

import key.w8.boot.condition.OnK8ReferenceEnabledCondition;
import key.w8.boot.condition.OnK8ServiceEnabledCondition;
import key.w8.boot.reference.K8ReferenceBeanPostProcessor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: k8
 * @CreateTime: 2025-08-17
 * @Version: 1.0
 */
@Configuration
@Conditional(OnK8ReferenceEnabledCondition.class)
public class K8RpcProcessorConfiguration {
    @Bean
    public K8ReferenceBeanPostProcessor k8ReferenceBeanPostProcessor(){
        return new K8ReferenceBeanPostProcessor();
    }
}
